<template>
	<div class="">
		<button @click="download">开始下载</button>
	</div>
</template>

<script>
	import downLoadApi from '@/common/download/download.js'
	let _this;
	export default {
		data() {
			return {
			}
		},
		onLoad: function() {
		
			
		},
		onShow() {
		
		},
		onHide: function() {
		
			
			
		},
		methods: {
			download(){
				downLoadApi.createDownload('http://localhost:8081/screen-control/rest/systemController/downloadFile.do?filePath=upload/files/20190705142744uSOL7TIr.jpg',{})
			}
		}
	}
</script>

<style>
	div,
	scroll-view,
	swiper {
		box-sizing: border-box;
	}

	div {
		font-size: 28upx;
		background-color: #f1f1f1;
	}
	.live{
		width: 100%;
		height: 500upx;
	}
	.swiper {
		height: 140upx;
	}

	.cu-bar {
		display: flex;
		position: relative;
		align-items: center;
		min-height: 100upx;
		justify-content: space-between;
	}

	.cu-bar .action {
		display: flex;
		align-items: center;
		height: 100%;
		justify-content: center;
		max-width: 100%;
		background-color: #ffffff;
	}

	.cu-bar .action:first-child {
		margin-left: 30upx;
		font-size: 30upx;
	}

	.solid,
	.solid-bottom {
		position: relative;
	}

	.solid::after,
	.solid-bottom::after {
		content: " ";
		width: 200%;
		height: 200%;
		position: absolute;
		top: 0;
		left: 0;
		border-radius: inherit;
		transform: scale(0.5);
		transform-origin: 0 0;
		pointer-events: none;
		box-sizing: border-box;
	}

	.solid::after {
		border: 1upx solid rgba(0, 0, 0, 0.1);
	}

	.solid-bottom::after {
		border-bottom: 1upx solid rgba(0, 0, 0, 0.1);
	}

	.text-orange {
		color: #f37b1d
	}
	.text-white  {
		color: #ffffff
	}
	.text-black {
		color: #333333;
	}

	.bg-white {
		background-color: #ffffff;
	}
	.bg-orange{
		background-color: #f37b1d;
	}

	.padding {
		padding: 30upx;
	}

	.margin {
		margin: 30upx;
	}

	.margin-top {
		margin-top: 30upx;
	}

	.text-center {
		text-align: center;
	}
</style>
